package com.zdp.dubbo.simulate.consumer;

import com.zdp.dubbo.simulate.framework.ProxyFactory;
import com.zdp.dubbo.simulate.provider.api.HelloService;
import com.zdp.dubbo.simulate.provider.impl.HelloServiceImpl;

/**
 * @author ZhengDp
 * @Date 2023/6/4 12:45
 */
public class Consumer {
    public static void main(String[] args) {
        HelloService proxy = ProxyFactory.getProxy(HelloService.class);
        String zhengdp = proxy.hello("Zhengdp");
        System.out.println(zhengdp);
    }
}
